package JudgeProcess;

public class Main 
{
	public static void main(String args[])
	{
		FileProcess fp = new FileProcess();
		fp.ACT002_delFile(Constant.DATA_USER_RESULT);
		//compile user's program and generate the output result
		Compile compile = new Compile("John", "1");
		//differential the result from user's and testing
		Diff diff = new Diff();
		int comp_result = diff.ACT001_compareResult(Constant.DATA_USER_RESULT, 
				Constant.DATA_TEST_RESULT);
		if(comp_result == Constant.COMP_SAME)
		{
			System.out.println("Yes");
		}
		else
		{
			System.out.println("No wrong answer");
		}
	}
}
